home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group95c.txt
/
000115_icon-group-sender _Tue Dec 5 14:14:01 1995.msg
< prev
next >
Wrap
Internet Message Format
|
1996-01-03
|
1KB
Received: by cheltenham.cs.arizona.edu; Tue, 5 Dec 1995 16:43:36 MST
Date: Tue, 5 Dec 1995 14:14:01 -0600
From: jeffery@dragon.cs.utsa.edu (Clinton Jeffery)
Message-Id: <9512052014.AA29357@dragon.cs.utsa.edu>
To: H.Lawson@tees.ac.uk
Cc: icon-group@cs.arizona.edu
In-Reply-To: <AA18079.9512041925.scorch@uk.ac.tees> (H.Lawson@tees.ac.uk)
Subject: Re: Can't find path for Icon
Content-Length: 946
Errors-To: icon-group-errors@cs.arizona.edu
[Hamish Lawson asks a query about DOS Icon's executable headers]
Although the argument to execvp (whatever that is) doesn't explicitly
specify that the program it's trying to run has a .exe extension
[... the error message in fact indicates that an iconx.exe is needed]
execvp() is a C function that Icon's executable header calls in order to run
iconx. As far as I know, execvp requires a .EXE file, a .bat file won't do.
If so, is it possible to change it so that no particular extension is
assumed, thus allowing iconx.bat to be found?
In order to execute a batch file from C code (in the Icon header), you'd
have to invoke a new version of command.com. We probably can't do that
in the general case because it would eat up valuable memory.
Someone else knows more about DOS executable headers than I; perhaps someone
can confirm this.
Clint Jeffery
jeffery@ringer.cs.utsa.edu
The University of Texas at San Antonio